package com.xiaoshuidi.cloud.module.contract.dal.dataobject.filings;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("contract_filings")
@Schema(description = "合同备案")
public class ContractFilingsDO extends TenantBaseDO implements Serializable {


    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long contractId;

    private String contractStatus;

    @Schema(description = "备案返回的合同编号")
    private String externalContractNo;

    @Schema(description = "备案返回的房间编号")
    private Long externalRoomId;

    @Schema(description = "同步状态 0同步失败1同步成功")
    private String signStatus;
    @Schema(description = "备案状态 1 备案成功 2备案失败 3 未备案")
    private String status;
    @Schema(description = "备案证书号")
    private String recordCertificateNo;
    @Schema(description = "合同编号")
    private String contractNo;

    @Schema(description = "附件系统生成的唯一标识")
    private Long fileSqeId;

    @Schema(description = "文件路径")
    private String filePath;


}
